package com.WGrape.OJ.judge.strategy;


import com.WGrape.OJ.model.dto.question.JudgeCase;
import com.WGrape.OJ.judge.codesandbox.model.JudgeInfo;
import com.WGrape.OJ.model.entity.Question;
import com.WGrape.OJ.model.entity.QuestionSubmit;
import lombok.Data;

import java.util.List;

/**
 * 上下文（用于定义在策略中传递的参数）
 */
@Data
public class JudgeContext {

    // 判断信息
    private JudgeInfo judgeInfo;

    // 输入列表
    private List<String> inputList;

    // 输出列表
    private List<String> outputList;

    // 判断用例列表
    private List<JudgeCase> judgeCaseList;

    // 问题
    private Question question;

    // 问题提交
    private QuestionSubmit questionSubmit;

}
